package org.emmannuel.virtues.client;

import java.util.ArrayList;

import org.emmannuel.virtues.client.common.TOSuggestion;
import org.emmannuel.virtues.client.common.TOVirtue;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface Requester extends RemoteService {
	String greetServer(String name);

	ArrayList<TOVirtue> showVirtues();
	
	Boolean adoptVirtue(Integer id, int user);
	
	ArrayList<TOSuggestion> getVirtueSuggestion(int virtueId);
	
	Boolean register(String capcha, String eMail, String name, String pass);
}
